import React from "./core/react.js";

// const children = [];
// for (let i = 0; i < 100000; i++) {
//   children.push(React.createElement("p", {}, `p-${i + 1}`));
// }

const p5 = React.createElement("p", null, "5");
const p4 = React.createElement("p", null, "4");
const p3 = React.createElement("p", null, "3", p4);
const p2 = React.createElement("p", null, "3", p3);
const p1 = React.createElement("p", null, "2", p2, p5);

const App = React.createElement("div", { id: "app" }, "Hello mini-react", p1);

export default App;
